/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.funda.xmppserver.presence;

import java.util.ArrayList;

/**
 *
 * @author kurinchi
 */
public class PresenceManager {

    protected int show=Show.AVAILABLE;

    protected String status;

    protected int priority=10;

    final static ArrayList<Object> showlist = new ArrayList<Object>();

    static
    {
        showlist.add("available");
        showlist.add("away");
        showlist.add("chat");
        showlist.add("dnd");
        showlist.add("xa");
    }

    public static ArrayList<Object> getShowlist() {
        return showlist;
    }



    /**
     * Get the value of priority
     *
     * @return the value of priority
     */
    public int getpriority() {
        return priority;
    }

    /**
     * Set the value of priority
     *
     * @param stringpriority new value of priority
     */
    public void setpriority(int priority) {
        this.priority = priority;
    }

    /**
     * Get the value of status
     *
     * @return the value of status
     */
    public String getStatus() {
        return status;
    }

    /**
     * Set the value of status
     *
     * @param status new value of status
     */
    public void setStatus(String status) {
        this.status = status;
    }


    /**
     * Get the value of show
     *
     * @return the value of show
     */
    public int getShow() {
        return show;
    }

    /**
     * Set the value of show
     *
     * @param show new value of show
     */
    public void setShow(int show) {
        this.show = show;
    }




}
